combining Get-Mailbox | Get-MailboxStatistics

I want to list out Get-Mailbox | select userprincipalname | Get-MailboxStatistics | select TotalItemSize but it returned error.

"The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
put or the input and its properties do not match any of the parameters that take pipeline input."

How can I get mailbox totalitemsize by email address?

February 8th, 2015 10:25pm

I know you can pipe Get-Mailbox username | Get-MailboxStatistics..., so try Get-Mailbox | Get-MailboxStatistics... I suspect that by using Select-Object you're returning a property that Get-MailboxStatics can't do bind to any of its parameters.
  • Proposed as answer by jrv 7 hours 25 minutes ago
Free Windows Admin Tool Kit Click here and download it now
February 8th, 2015 10:59pm

Get-MailboxStatistics -Server sbs01|select DisplayName,TotalItemSize

February 8th, 2015 11:18pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics